package cn.zs.supply.web.aspect;
import cn.zs.supply.common.core.aspect.BaseApiCounterAspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;


@Aspect
@Component
public class ApiInvokerCounterAspect extends BaseApiCounterAspect {

    @Around("execution(* cn.zs.supply.web.controller..*.*(..))")
    public Object count(ProceedingJoinPoint pjp) throws Throwable {
        return super.counter(pjp);
    }
}